AmpProject\AmpWP\Admin\PluginActivationSiteScan S

Total Complexity 18
Dependencies 4
Dependents 0
Total lines 179
Lines of code 100
Logical lines of code 23
Comment lines 57
Methods 9
Properties 1

Methods 9

Method Rating Maintainability Complexity Lines of code
is_needed()
S
56 7 20
enqueue_assets()
S
48 2 36
add_preload_rest_paths()
S
56 2 20
get_amp_compatible_plugins_url()
S
71 2 6
get_requirements()
S
80 1 3
__construct()
S
81 1 3
get_registration_action()
S
81 1 3
register()
S
75 1 4
render_notice()
S
76 1 5